package com.xingkeduo;

import com.xingkeduo.util.pojo.enums.DatabaseEnum;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
public class OperationApplication {

    public static void main(String[] args)
    {
        // new
        // SpringApplicationBuilder(ServiceBusApplication.class).web(true).run(args);
        System.setProperty("serviceDatabases", DatabaseEnum.MYSQL_OPERATION.toConditionString());
        SpringApplication.run(OperationApplication.class, args);
    }

}
